package com.xuexi.service;

import com.xuexi.easygo.pojo.Brand;

import java.util.List;
import java.util.Map;

public interface IBrandService {

     List<Brand> getBrands();

     int addBrand(Brand brand);

     int updateBrand(Brand brand);

     Brand getBrandById(Integer id);

     int deleteBrand(Integer id);

     int deleteSome(String ids);

     //分页：首先的查询总条数
     int getTotalCount();
     //查询每页的数据
     List<Brand> getPageBrands(Map<String,Object> map);

}
